import os
from .development import CONFIG as DEV_CONFIG
from .production import CONFIG as PROD_CONFIG

def get_config():
    env = os.getenv('FLASK_ENV', 'development')
    if env == 'production':
        return PROD_CONFIG
    return DEV_CONFIG 